import constants from '@/commons/constants';
const moduleCode = constants.MODULE_DISTRIBUTION_CODE;
export default [
    {
        path: '/distributor',
        redirect: '/distributor/members'
    },
    {
        path: '/distributor/members',
        component: () => import('@/views/distribution/distributor/members/index.vue'),
        meta: {
            title: '分销员列表',
            code: 'distribution_members'
        }
    },
    {
        path: '/distributor/audit',
        component: () => import('@/views/distribution/distributor/audit/index.vue'),
        meta: {
            title: '分销员审核',
            code: 'distribution_audit'
        }
    },
    {
        path: '/distributor/order',
        component: () => import('@/views/distribution/distributor/order/index.vue'),
        meta: {
            title: '分销订单 ',
            code: 'distribution_order'
        }
    },
    {
        path: '/distributor/cent',
        component: () => import('@/views/distribution/distributor/cent/index.vue'),
        meta: {
            title: '分佣记录',
            code: 'cent_commission'
        }
    },
    {
        path: '/distributor/goods',
        component: () => import('@/views/distribution/distributor/goods/index.vue'),
        meta: {
            title: '分销商品',
            code: 'distribution_goods'
        }
    },
    {
        path: '/distributor/set',
        component: () => import('@/views/distribution/distributor/set/index.vue'),
        meta: {
            title: '分销设置',
            code: 'distribution_set'
        }
    }
];
